package VN.EDU.IMIC.DEVELOPER.NGUYENTHUYOANH_LV1_04;

import java.util.Scanner;

import VN.EDU.IMIC.DEVELOPER.VUVANLUANLEVEL2.EXR0102.models;

public class Views {
	public static void main(String[] args) {
		Scanner objScanner = new Scanner(System.in);
		Date obj_Date = new Date(0, 0);

	

		System.out.println(" Nhap thang");
		obj_Date.setThang(objScanner.nextInt());
		System.out.println(" Nhap nam");
		obj_Date.setNam(objScanner.nextInt());
		
		Controller obj_Controller = new Controller(obj_Date);
		
		int ngay=obj_Controller.CheckDayOfMonth();
		if( ngay==0)
				System.out.println("Ngay thang ko hop le");
		else
			System.out.println("ngay trong thang la: "+ngay);

	}

}
